package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Advertisingrecord implements Serializable {
    private String adrdno;

    private String adno;

    private String advrno;

    private Integer adrdstate;

    private String adrdnumber;

    private String adrdreleasetime;

    private String adrddescribe;

    private static final long serialVersionUID = 1L;

    public String getAdrdno() {
        return adrdno;
    }

    public void setAdrdno(String adrdno) {
        this.adrdno = adrdno;
    }

    public String getAdno() {
        return adno;
    }

    public void setAdno(String adno) {
        this.adno = adno;
    }

    public String getAdvrno() {
        return advrno;
    }

    public void setAdvrno(String advrno) {
        this.advrno = advrno;
    }

    public Integer getAdrdstate() {
        return adrdstate;
    }

    public void setAdrdstate(Integer adrdstate) {
        this.adrdstate = adrdstate;
    }

    public String getAdrdnumber() {
        return adrdnumber;
    }

    public void setAdrdnumber(String adrdnumber) {
        this.adrdnumber = adrdnumber;
    }

    public String getAdrdreleasetime() {
        return adrdreleasetime;
    }

    public void setAdrdreleasetime(String adrdreleasetime) {
        this.adrdreleasetime = adrdreleasetime;
    }

    public String getAdrddescribe() {
        return adrddescribe;
    }

    public void setAdrddescribe(String adrddescribe) {
        this.adrddescribe = adrddescribe;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Advertisingrecord other = (Advertisingrecord) that;
        return (this.getAdrdno() == null ? other.getAdrdno() == null : this.getAdrdno().equals(other.getAdrdno()))
            && (this.getAdno() == null ? other.getAdno() == null : this.getAdno().equals(other.getAdno()))
            && (this.getAdvrno() == null ? other.getAdvrno() == null : this.getAdvrno().equals(other.getAdvrno()))
            && (this.getAdrdstate() == null ? other.getAdrdstate() == null : this.getAdrdstate().equals(other.getAdrdstate()))
            && (this.getAdrdnumber() == null ? other.getAdrdnumber() == null : this.getAdrdnumber().equals(other.getAdrdnumber()))
            && (this.getAdrdreleasetime() == null ? other.getAdrdreleasetime() == null : this.getAdrdreleasetime().equals(other.getAdrdreleasetime()))
            && (this.getAdrddescribe() == null ? other.getAdrddescribe() == null : this.getAdrddescribe().equals(other.getAdrddescribe()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAdrdno() == null) ? 0 : getAdrdno().hashCode());
        result = prime * result + ((getAdno() == null) ? 0 : getAdno().hashCode());
        result = prime * result + ((getAdvrno() == null) ? 0 : getAdvrno().hashCode());
        result = prime * result + ((getAdrdstate() == null) ? 0 : getAdrdstate().hashCode());
        result = prime * result + ((getAdrdnumber() == null) ? 0 : getAdrdnumber().hashCode());
        result = prime * result + ((getAdrdreleasetime() == null) ? 0 : getAdrdreleasetime().hashCode());
        result = prime * result + ((getAdrddescribe() == null) ? 0 : getAdrddescribe().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", adrdno=").append(adrdno);
        sb.append(", adno=").append(adno);
        sb.append(", advrno=").append(advrno);
        sb.append(", adrdstate=").append(adrdstate);
        sb.append(", adrdnumber=").append(adrdnumber);
        sb.append(", adrdreleasetime=").append(adrdreleasetime);
        sb.append(", adrddescribe=").append(adrddescribe);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}